package com.sxt.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import com.sxt.domain.GoodsCategory;

@Repository
public interface GoodsCategoryDao extends JpaRepository<GoodsCategory, Short>{

   List<GoodsCategory> findByParentId(Short pid);
}
